#include <iostream>
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <cuda_runtime.h>
#include "preprocess.cuh"


int main()
{
    cv::Mat img = cv::imread(imagePath);

    // CNN input size
    int inputHeight = 448;
    int inputWidth = 448;

    // target data
    float outputData[inputHeight * inputWidth * 3];

    ppreprocess(img, outputData, inputHeight, inputWidth);

    // print part of output
    for (int i = 100; i < 150; i++)
    {
        std::cout << outputData[i] << " ";
    }
    std::cout << std::endl;

    return 0;
}